﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace IntoNails.Infrastructure.Activity
{
    public class ActivityCompletedEventArgs : CancelEventArgs
    {
        public ActivityCompletedEventArgs(bool cancel)
            : base(cancel)
        {
        }

        public ActivityCompletedEventArgs(Exception error)
        {
            this.Error = error;
        }

        public Exception Error { get; private set; }
    }
}
